package zbu.eb.model;
public class EBike {
    private String bikeName;
    private String source;
    private String type;
    private int price;
    private int count;
    public EBike(String bikeName, String source, String type, int price) {
        this.bikeName = bikeName;
        this.source = source;
        this.type = type;
        this.price = price;
    }
    public String getBikeName() {
        return bikeName;
    }
    public void setBikeName(String bikeName) {
        this.bikeName = bikeName;
    }
    public String getSource() {
        return source;
    }
    public void setSource(String source) {
        this.source = source;
    }
    public String getType() {
        return type;
    }
    public void setType(String type) {
        this.type = type;
    }
    public int getPrice() {
        return price;
    }
    public void setPrice(int price) {
        this.price = price;
    }
    public int getCount() {
        return count;
    }
    public void setCount(int count) {
        this.count = count;
    }
    @Override
    public String toString() {
        return "EBike{" +
                "bikeName='" + bikeName + '\'' +
                ", source='" + source + '\'' +
                ", type='" + type + '\'' +
                ", price=" + price +
                ", count=" + count +
                '}';
    }
}
